#include <stdio.h>

int Sum(int s, int e) 
{
    int result = 0;
    for(int i = s; i <= e; i++) 
    {
        result += i;
    }
    return result;
}

int main() 
{
    int start = 1;
    int end = 100;
     
    printf("Program started\n");

    int sum_result = Sum(start, end);
    printf("Calculation completed. Result: Sum from %d to %d is %d\n", start, end, sum_result);

    return 0;
} 
